package com.tmt.im.manager.controller.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.SuperBuilder;

import java.io.Serial;
import java.io.Serializable;

/**
 * @Description TODO
 * @Author wuyi
 * @Date 2024/9/5 20:16
 * @Version 1.0
 **/
@Getter
@Setter
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
@Tag(name = "SlideConditionQueryRequest", description = "滑动条件查询请求对象")
public class SlideConditionQueryRequest1 extends SlideQueryRequest implements Serializable {

    @Serial
    private static final long serialVersionUID = 3382384285397844254L;

    @Schema(description = "按用户手机号码或会员编号精确查询")
    @NotNull(message = "查询条件不能为null")
    @NotBlank(message = "查询条件不能为空串")
    private String mobileOrCode;
}